package com.whminwei.edu.api.tchbase.dto.fspn;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author chenpeng
 * @since  2024/10/24
 */
@Data
@NoArgsConstructor
public class CoursePracticeFspn {
    @JsonValue
    private List<CoursePracticeBo> coursePracticeList;

    @JsonCreator
    public CoursePracticeFspn(List<CoursePracticeBo> coursePracticeList) {
        this.coursePracticeList = coursePracticeList;
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class  CoursePracticeBo{

        /**
         * 课程实践项目id
         */
        private String coursePracticeId;

        /**
         * 课程实践项目名字
         */
        private String coursePracticeName;

        /**
         * 课程实践项目编号
         */
        private String coursePracticeNo;
        /**
         * 课程实践项目类型
         */
        private String coursePracticeType;
        /**
         * 课程Id
         */
        private String courseId;
        /**
         * 实训基地
         */
        private String baseId;
        /**
         * 实践项目教学时数
         */
        private int hours;
    }

}
